package com.jinlia.show.modules.base.wxapp.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinlia.show.common.core.entity.BaseEntity;
import com.jinlia.show.modules.base.config.DynamicSchemaConfig;
import lombok.Data;

@Data
@TableName(value ="wxapp_user_address", schema = DynamicSchemaConfig.schema_wxapp)
public class  UserAddress extends BaseEntity {
    @TableId()
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    private String openId;
    /**
     * 收件人
     */
    private String receiver;
    /**
     * 收件人手机号
     */
    private String mobile;
    /**
     * 地址标题
     */
    private String addressName;
    private String address;
    private Double longitude;
    private Double latitude;

    //是否为默认 1-默认，0-否
    private Integer isDefault;

}
